﻿
#include <QtWidgets>
#include <QUdpSocket>
#include "controlsystem.h"
#include "mainwin.h"
QUdpSocket* mSocket;
QHostAddress host;
QHostAddress esp32host;
int port =8888;
bool onPhoto=0;
bool onBack=0;
QFile *file;
QString saveFile;
//计时器
QTime* timer;
QString b_timeStr;
bool boolCheckRealTimeColor=0;
int main(int argc, char *argv[])
{
    //初始化
   // qdt1 = QDateTime::currentDateTime();
    //b_timeStr = qdt1.toString("yyyyMMddhhmmsszzz");
    timer=new QTime;
    file=new QFile;
    mSocket=new QUdpSocket;
    QApplication *a=new QApplication(argc, argv);
   // mSocket->writeDatagram("\FF",host,port);
    mainWin * mainwin=new mainWin;
    mainwin->show();
    return a->exec();
}
